import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from "./router/router.js"
import "./assets/css/common.css"
import * as echarts from 'echarts'
import { MessageBox } from 'element-ui';
import { Message } from 'element-ui'

Vue.prototype.$echarts = echarts
import "./assets/fonts/iconfont.css"

Vue.config.productionTip = false

import axios from 'axios'
Vue.prototype.$http = axios
Vue.use(ElementUI);
Vue.prototype.$Message = Message;
Vue.prototype.$comfirm = MessageBox.comfirm;

new Vue({
    render: h => h(App),
    router
}).$mount('#app')